package com.imooc.ad.service;

import com.imooc.ad.exception.AdException;
import com.imooc.ad.exception.MyException;
import com.imooc.ad.vo.CreateUserRequest;
import com.imooc.ad.vo.CreateUserResponse;

/**
 * Created by Qinyi.
 */
public interface IUserService {

    /**
     * <h2>创建用户</h2>
     * */
    CreateUserResponse createUser(CreateUserRequest request) throws AdException;

    /**
     * <h2>创建用户</h2>
     * */
    CreateUserResponse createUser1(CreateUserRequest request) throws MyException;
}
